package com.mmall.pay.result;

import lombok.Data;
import org.apache.commons.lang3.StringUtils;

import java.io.Serializable;

/**
 * @author gg
 * @version BaseResult.java, v 0.1 2019-06-05 11:42 gg
 */
@Data
public class BaseResult implements Serializable {

    private String code;

    private String subMsg;

    private String subCode;

    public boolean isSuccess() {
        return StringUtils.isEmpty(subCode);
    }
}